<template>
  <div>
    <div v-for="item in 10" :key="item" @click="clipboard(`<span>${item}</span>`,$event)" class='bd'>{{item}}</div>
  </div>
</template>

<script>
import clipboard from '@/utils/clipboard'
export default {
  methods: {
    clipboard(target, event) {
      console.log(target, event)
      clipboard(target, event)
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
